html, body {
    height: 100%;
}

body {
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;

}

.login {
    width: 600px;
    height: 440px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.login > .header {
    height: 140px;
    background: url("login.jpg") no-repeat center center/cover;
    position: relative;
}

.login > .header::after {
    content: "后台管理系统登录";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    padding-top: 40px;
    font-size: 28px;
}

.login > .header > h2 {
    color: #fff;
    text-align: center;
}

.login > .body {
    box-sizing: border-box;
    padding: 30px;
}

.login > .body input {
    outline: none;
    border: 1px solid #ccc;
    padding: 2px 0 2px 2px;
    width: 300px;
}

.login > .body > form > div {
    margin-bottom: 15px;
}

.login > .body > form > div > label:first-child {
    display: inline-block;
    width: 100px;
    text-align: right;
}

#login-btn {
    outline: none;
    border: none;
    background-color: #0d6efd;
    padding: 5px 20px;
    color: #fff;
    border-radius: 4px;
}
#register-btn {
    outline: none;
    border: none;
    background-color: #0d6efd;
    padding: 5px 20px;
    color: #fff;
    border-radius: 4px;
}
#role_user{
    width: 95px;
}
.captcha {
    width: 130px;
    height: 30px;
    border: 1px solid #ccc;
}

#captcha {
    width: 165px;
}